package pattern.strategy;

public class TestMiniDuckSimulator2 {
	public static void main(String[] args) {
		Duck mallarDuck = new MallardDuck();
		mallarDuck.display();
		mallarDuck.performQuack();
		mallarDuck.performFly();
		
		Duck modelDuck = new ModelDuck();
		modelDuck.display();
		modelDuck.performFly();
		modelDuck.setFlyBehavior(new FlyRocketPowered());
		modelDuck.performFly();
		
	}
}
